package com.my.actionform;

import org.apache.struts.action.ActionForm;

public class MessageForm extends ActionForm {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	int id;
	String username;
	String catalog;
	String content;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getCatalog() {
		return catalog;
	}
	public void setCatalog(String catalog) {
		this.catalog = catalog;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	
	@Override
	public String toString() {
		return "MessageForm [id=" + id + ", username=" + username
				+ ", catalog=" + catalog + ", content=" + content + "]";
	}
	public MessageForm(int id, String username, String catalog, String content) {
		super();
		this.id = id;
		this.username = username;
		this.catalog = catalog;
		this.content = content;
	}
	public MessageForm(){
		
	}
	
	
}
